package com.cn.kehong.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ProductReworkExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ProductReworkExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPackageIdIsNull() {
            addCriterion("package_id is null");
            return (Criteria) this;
        }

        public Criteria andPackageIdIsNotNull() {
            addCriterion("package_id is not null");
            return (Criteria) this;
        }

        public Criteria andPackageIdEqualTo(String value) {
            addCriterion("package_id =", value, "packageId");
            return (Criteria) this;
        }

        public Criteria andPackageIdNotEqualTo(String value) {
            addCriterion("package_id <>", value, "packageId");
            return (Criteria) this;
        }

        public Criteria andPackageIdGreaterThan(String value) {
            addCriterion("package_id >", value, "packageId");
            return (Criteria) this;
        }

        public Criteria andPackageIdGreaterThanOrEqualTo(String value) {
            addCriterion("package_id >=", value, "packageId");
            return (Criteria) this;
        }

        public Criteria andPackageIdLessThan(String value) {
            addCriterion("package_id <", value, "packageId");
            return (Criteria) this;
        }

        public Criteria andPackageIdLessThanOrEqualTo(String value) {
            addCriterion("package_id <=", value, "packageId");
            return (Criteria) this;
        }

        public Criteria andPackageIdLike(String value) {
            addCriterion("package_id like", value, "packageId");
            return (Criteria) this;
        }

        public Criteria andPackageIdNotLike(String value) {
            addCriterion("package_id not like", value, "packageId");
            return (Criteria) this;
        }

        public Criteria andPackageIdIn(List<String> values) {
            addCriterion("package_id in", values, "packageId");
            return (Criteria) this;
        }

        public Criteria andPackageIdNotIn(List<String> values) {
            addCriterion("package_id not in", values, "packageId");
            return (Criteria) this;
        }

        public Criteria andPackageIdBetween(String value1, String value2) {
            addCriterion("package_id between", value1, value2, "packageId");
            return (Criteria) this;
        }

        public Criteria andPackageIdNotBetween(String value1, String value2) {
            addCriterion("package_id not between", value1, value2, "packageId");
            return (Criteria) this;
        }

        public Criteria andPackageCodeIsNull() {
            addCriterion("package_code is null");
            return (Criteria) this;
        }

        public Criteria andPackageCodeIsNotNull() {
            addCriterion("package_code is not null");
            return (Criteria) this;
        }

        public Criteria andPackageCodeEqualTo(String value) {
            addCriterion("package_code =", value, "packageCode");
            return (Criteria) this;
        }

        public Criteria andPackageCodeNotEqualTo(String value) {
            addCriterion("package_code <>", value, "packageCode");
            return (Criteria) this;
        }

        public Criteria andPackageCodeGreaterThan(String value) {
            addCriterion("package_code >", value, "packageCode");
            return (Criteria) this;
        }

        public Criteria andPackageCodeGreaterThanOrEqualTo(String value) {
            addCriterion("package_code >=", value, "packageCode");
            return (Criteria) this;
        }

        public Criteria andPackageCodeLessThan(String value) {
            addCriterion("package_code <", value, "packageCode");
            return (Criteria) this;
        }

        public Criteria andPackageCodeLessThanOrEqualTo(String value) {
            addCriterion("package_code <=", value, "packageCode");
            return (Criteria) this;
        }

        public Criteria andPackageCodeLike(String value) {
            addCriterion("package_code like", value, "packageCode");
            return (Criteria) this;
        }

        public Criteria andPackageCodeNotLike(String value) {
            addCriterion("package_code not like", value, "packageCode");
            return (Criteria) this;
        }

        public Criteria andPackageCodeIn(List<String> values) {
            addCriterion("package_code in", values, "packageCode");
            return (Criteria) this;
        }

        public Criteria andPackageCodeNotIn(List<String> values) {
            addCriterion("package_code not in", values, "packageCode");
            return (Criteria) this;
        }

        public Criteria andPackageCodeBetween(String value1, String value2) {
            addCriterion("package_code between", value1, value2, "packageCode");
            return (Criteria) this;
        }

        public Criteria andPackageCodeNotBetween(String value1, String value2) {
            addCriterion("package_code not between", value1, value2, "packageCode");
            return (Criteria) this;
        }

        public Criteria andPackageTimeIsNull() {
            addCriterion("package_time is null");
            return (Criteria) this;
        }

        public Criteria andPackageTimeIsNotNull() {
            addCriterion("package_time is not null");
            return (Criteria) this;
        }

        public Criteria andPackageTimeEqualTo(String value) {
            addCriterion("package_time =", value, "packageTime");
            return (Criteria) this;
        }

        public Criteria andPackageTimeNotEqualTo(String value) {
            addCriterion("package_time <>", value, "packageTime");
            return (Criteria) this;
        }

        public Criteria andPackageTimeGreaterThan(String value) {
            addCriterion("package_time >", value, "packageTime");
            return (Criteria) this;
        }

        public Criteria andPackageTimeGreaterThanOrEqualTo(String value) {
            addCriterion("package_time >=", value, "packageTime");
            return (Criteria) this;
        }

        public Criteria andPackageTimeLessThan(String value) {
            addCriterion("package_time <", value, "packageTime");
            return (Criteria) this;
        }

        public Criteria andPackageTimeLessThanOrEqualTo(String value) {
            addCriterion("package_time <=", value, "packageTime");
            return (Criteria) this;
        }

        public Criteria andPackageTimeLike(String value) {
            addCriterion("package_time like", value, "packageTime");
            return (Criteria) this;
        }

        public Criteria andPackageTimeNotLike(String value) {
            addCriterion("package_time not like", value, "packageTime");
            return (Criteria) this;
        }

        public Criteria andPackageTimeIn(List<String> values) {
            addCriterion("package_time in", values, "packageTime");
            return (Criteria) this;
        }

        public Criteria andPackageTimeNotIn(List<String> values) {
            addCriterion("package_time not in", values, "packageTime");
            return (Criteria) this;
        }

        public Criteria andPackageTimeBetween(String value1, String value2) {
            addCriterion("package_time between", value1, value2, "packageTime");
            return (Criteria) this;
        }

        public Criteria andPackageTimeNotBetween(String value1, String value2) {
            addCriterion("package_time not between", value1, value2, "packageTime");
            return (Criteria) this;
        }

        public Criteria andBaoCodeIsNull() {
            addCriterion("bao_code is null");
            return (Criteria) this;
        }

        public Criteria andBaoCodeIsNotNull() {
            addCriterion("bao_code is not null");
            return (Criteria) this;
        }

        public Criteria andBaoCodeEqualTo(String value) {
            addCriterion("bao_code =", value, "baoCode");
            return (Criteria) this;
        }

        public Criteria andBaoCodeNotEqualTo(String value) {
            addCriterion("bao_code <>", value, "baoCode");
            return (Criteria) this;
        }

        public Criteria andBaoCodeGreaterThan(String value) {
            addCriterion("bao_code >", value, "baoCode");
            return (Criteria) this;
        }

        public Criteria andBaoCodeGreaterThanOrEqualTo(String value) {
            addCriterion("bao_code >=", value, "baoCode");
            return (Criteria) this;
        }

        public Criteria andBaoCodeLessThan(String value) {
            addCriterion("bao_code <", value, "baoCode");
            return (Criteria) this;
        }

        public Criteria andBaoCodeLessThanOrEqualTo(String value) {
            addCriterion("bao_code <=", value, "baoCode");
            return (Criteria) this;
        }

        public Criteria andBaoCodeLike(String value) {
            addCriterion("bao_code like", value, "baoCode");
            return (Criteria) this;
        }

        public Criteria andBaoCodeNotLike(String value) {
            addCriterion("bao_code not like", value, "baoCode");
            return (Criteria) this;
        }

        public Criteria andBaoCodeIn(List<String> values) {
            addCriterion("bao_code in", values, "baoCode");
            return (Criteria) this;
        }

        public Criteria andBaoCodeNotIn(List<String> values) {
            addCriterion("bao_code not in", values, "baoCode");
            return (Criteria) this;
        }

        public Criteria andBaoCodeBetween(String value1, String value2) {
            addCriterion("bao_code between", value1, value2, "baoCode");
            return (Criteria) this;
        }

        public Criteria andBaoCodeNotBetween(String value1, String value2) {
            addCriterion("bao_code not between", value1, value2, "baoCode");
            return (Criteria) this;
        }

        public Criteria andBackWeightIsNull() {
            addCriterion("back_weight is null");
            return (Criteria) this;
        }

        public Criteria andBackWeightIsNotNull() {
            addCriterion("back_weight is not null");
            return (Criteria) this;
        }

        public Criteria andBackWeightEqualTo(String value) {
            addCriterion("back_weight =", value, "backWeight");
            return (Criteria) this;
        }

        public Criteria andBackWeightNotEqualTo(String value) {
            addCriterion("back_weight <>", value, "backWeight");
            return (Criteria) this;
        }

        public Criteria andBackWeightGreaterThan(String value) {
            addCriterion("back_weight >", value, "backWeight");
            return (Criteria) this;
        }

        public Criteria andBackWeightGreaterThanOrEqualTo(String value) {
            addCriterion("back_weight >=", value, "backWeight");
            return (Criteria) this;
        }

        public Criteria andBackWeightLessThan(String value) {
            addCriterion("back_weight <", value, "backWeight");
            return (Criteria) this;
        }

        public Criteria andBackWeightLessThanOrEqualTo(String value) {
            addCriterion("back_weight <=", value, "backWeight");
            return (Criteria) this;
        }

        public Criteria andBackWeightLike(String value) {
            addCriterion("back_weight like", value, "backWeight");
            return (Criteria) this;
        }

        public Criteria andBackWeightNotLike(String value) {
            addCriterion("back_weight not like", value, "backWeight");
            return (Criteria) this;
        }

        public Criteria andBackWeightIn(List<String> values) {
            addCriterion("back_weight in", values, "backWeight");
            return (Criteria) this;
        }

        public Criteria andBackWeightNotIn(List<String> values) {
            addCriterion("back_weight not in", values, "backWeight");
            return (Criteria) this;
        }

        public Criteria andBackWeightBetween(String value1, String value2) {
            addCriterion("back_weight between", value1, value2, "backWeight");
            return (Criteria) this;
        }

        public Criteria andBackWeightNotBetween(String value1, String value2) {
            addCriterion("back_weight not between", value1, value2, "backWeight");
            return (Criteria) this;
        }

        public Criteria andBackTypeIsNull() {
            addCriterion("back_type is null");
            return (Criteria) this;
        }

        public Criteria andBackTypeIsNotNull() {
            addCriterion("back_type is not null");
            return (Criteria) this;
        }

        public Criteria andBackTypeEqualTo(String value) {
            addCriterion("back_type =", value, "backType");
            return (Criteria) this;
        }

        public Criteria andBackTypeNotEqualTo(String value) {
            addCriterion("back_type <>", value, "backType");
            return (Criteria) this;
        }

        public Criteria andBackTypeGreaterThan(String value) {
            addCriterion("back_type >", value, "backType");
            return (Criteria) this;
        }

        public Criteria andBackTypeGreaterThanOrEqualTo(String value) {
            addCriterion("back_type >=", value, "backType");
            return (Criteria) this;
        }

        public Criteria andBackTypeLessThan(String value) {
            addCriterion("back_type <", value, "backType");
            return (Criteria) this;
        }

        public Criteria andBackTypeLessThanOrEqualTo(String value) {
            addCriterion("back_type <=", value, "backType");
            return (Criteria) this;
        }

        public Criteria andBackTypeLike(String value) {
            addCriterion("back_type like", value, "backType");
            return (Criteria) this;
        }

        public Criteria andBackTypeNotLike(String value) {
            addCriterion("back_type not like", value, "backType");
            return (Criteria) this;
        }

        public Criteria andBackTypeIn(List<String> values) {
            addCriterion("back_type in", values, "backType");
            return (Criteria) this;
        }

        public Criteria andBackTypeNotIn(List<String> values) {
            addCriterion("back_type not in", values, "backType");
            return (Criteria) this;
        }

        public Criteria andBackTypeBetween(String value1, String value2) {
            addCriterion("back_type between", value1, value2, "backType");
            return (Criteria) this;
        }

        public Criteria andBackTypeNotBetween(String value1, String value2) {
            addCriterion("back_type not between", value1, value2, "backType");
            return (Criteria) this;
        }

        public Criteria andBackReasonIsNull() {
            addCriterion("back_reason is null");
            return (Criteria) this;
        }

        public Criteria andBackReasonIsNotNull() {
            addCriterion("back_reason is not null");
            return (Criteria) this;
        }

        public Criteria andBackReasonEqualTo(String value) {
            addCriterion("back_reason =", value, "backReason");
            return (Criteria) this;
        }

        public Criteria andBackReasonNotEqualTo(String value) {
            addCriterion("back_reason <>", value, "backReason");
            return (Criteria) this;
        }

        public Criteria andBackReasonGreaterThan(String value) {
            addCriterion("back_reason >", value, "backReason");
            return (Criteria) this;
        }

        public Criteria andBackReasonGreaterThanOrEqualTo(String value) {
            addCriterion("back_reason >=", value, "backReason");
            return (Criteria) this;
        }

        public Criteria andBackReasonLessThan(String value) {
            addCriterion("back_reason <", value, "backReason");
            return (Criteria) this;
        }

        public Criteria andBackReasonLessThanOrEqualTo(String value) {
            addCriterion("back_reason <=", value, "backReason");
            return (Criteria) this;
        }

        public Criteria andBackReasonLike(String value) {
            addCriterion("back_reason like", value, "backReason");
            return (Criteria) this;
        }

        public Criteria andBackReasonNotLike(String value) {
            addCriterion("back_reason not like", value, "backReason");
            return (Criteria) this;
        }

        public Criteria andBackReasonIn(List<String> values) {
            addCriterion("back_reason in", values, "backReason");
            return (Criteria) this;
        }

        public Criteria andBackReasonNotIn(List<String> values) {
            addCriterion("back_reason not in", values, "backReason");
            return (Criteria) this;
        }

        public Criteria andBackReasonBetween(String value1, String value2) {
            addCriterion("back_reason between", value1, value2, "backReason");
            return (Criteria) this;
        }

        public Criteria andBackReasonNotBetween(String value1, String value2) {
            addCriterion("back_reason not between", value1, value2, "backReason");
            return (Criteria) this;
        }

        public Criteria andDianciCodeIsNull() {
            addCriterion("dianci_code is null");
            return (Criteria) this;
        }

        public Criteria andDianciCodeIsNotNull() {
            addCriterion("dianci_code is not null");
            return (Criteria) this;
        }

        public Criteria andDianciCodeEqualTo(String value) {
            addCriterion("dianci_code =", value, "dianciCode");
            return (Criteria) this;
        }

        public Criteria andDianciCodeNotEqualTo(String value) {
            addCriterion("dianci_code <>", value, "dianciCode");
            return (Criteria) this;
        }

        public Criteria andDianciCodeGreaterThan(String value) {
            addCriterion("dianci_code >", value, "dianciCode");
            return (Criteria) this;
        }

        public Criteria andDianciCodeGreaterThanOrEqualTo(String value) {
            addCriterion("dianci_code >=", value, "dianciCode");
            return (Criteria) this;
        }

        public Criteria andDianciCodeLessThan(String value) {
            addCriterion("dianci_code <", value, "dianciCode");
            return (Criteria) this;
        }

        public Criteria andDianciCodeLessThanOrEqualTo(String value) {
            addCriterion("dianci_code <=", value, "dianciCode");
            return (Criteria) this;
        }

        public Criteria andDianciCodeLike(String value) {
            addCriterion("dianci_code like", value, "dianciCode");
            return (Criteria) this;
        }

        public Criteria andDianciCodeNotLike(String value) {
            addCriterion("dianci_code not like", value, "dianciCode");
            return (Criteria) this;
        }

        public Criteria andDianciCodeIn(List<String> values) {
            addCriterion("dianci_code in", values, "dianciCode");
            return (Criteria) this;
        }

        public Criteria andDianciCodeNotIn(List<String> values) {
            addCriterion("dianci_code not in", values, "dianciCode");
            return (Criteria) this;
        }

        public Criteria andDianciCodeBetween(String value1, String value2) {
            addCriterion("dianci_code between", value1, value2, "dianciCode");
            return (Criteria) this;
        }

        public Criteria andDianciCodeNotBetween(String value1, String value2) {
            addCriterion("dianci_code not between", value1, value2, "dianciCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeIsNull() {
            addCriterion("product_code is null");
            return (Criteria) this;
        }

        public Criteria andProductCodeIsNotNull() {
            addCriterion("product_code is not null");
            return (Criteria) this;
        }

        public Criteria andProductCodeEqualTo(String value) {
            addCriterion("product_code =", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeNotEqualTo(String value) {
            addCriterion("product_code <>", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeGreaterThan(String value) {
            addCriterion("product_code >", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeGreaterThanOrEqualTo(String value) {
            addCriterion("product_code >=", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeLessThan(String value) {
            addCriterion("product_code <", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeLessThanOrEqualTo(String value) {
            addCriterion("product_code <=", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeLike(String value) {
            addCriterion("product_code like", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeNotLike(String value) {
            addCriterion("product_code not like", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeIn(List<String> values) {
            addCriterion("product_code in", values, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeNotIn(List<String> values) {
            addCriterion("product_code not in", values, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeBetween(String value1, String value2) {
            addCriterion("product_code between", value1, value2, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeNotBetween(String value1, String value2) {
            addCriterion("product_code not between", value1, value2, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductGradeIsNull() {
            addCriterion("product_grade is null");
            return (Criteria) this;
        }

        public Criteria andProductGradeIsNotNull() {
            addCriterion("product_grade is not null");
            return (Criteria) this;
        }

        public Criteria andProductGradeEqualTo(String value) {
            addCriterion("product_grade =", value, "productGrade");
            return (Criteria) this;
        }

        public Criteria andProductGradeNotEqualTo(String value) {
            addCriterion("product_grade <>", value, "productGrade");
            return (Criteria) this;
        }

        public Criteria andProductGradeGreaterThan(String value) {
            addCriterion("product_grade >", value, "productGrade");
            return (Criteria) this;
        }

        public Criteria andProductGradeGreaterThanOrEqualTo(String value) {
            addCriterion("product_grade >=", value, "productGrade");
            return (Criteria) this;
        }

        public Criteria andProductGradeLessThan(String value) {
            addCriterion("product_grade <", value, "productGrade");
            return (Criteria) this;
        }

        public Criteria andProductGradeLessThanOrEqualTo(String value) {
            addCriterion("product_grade <=", value, "productGrade");
            return (Criteria) this;
        }

        public Criteria andProductGradeLike(String value) {
            addCriterion("product_grade like", value, "productGrade");
            return (Criteria) this;
        }

        public Criteria andProductGradeNotLike(String value) {
            addCriterion("product_grade not like", value, "productGrade");
            return (Criteria) this;
        }

        public Criteria andProductGradeIn(List<String> values) {
            addCriterion("product_grade in", values, "productGrade");
            return (Criteria) this;
        }

        public Criteria andProductGradeNotIn(List<String> values) {
            addCriterion("product_grade not in", values, "productGrade");
            return (Criteria) this;
        }

        public Criteria andProductGradeBetween(String value1, String value2) {
            addCriterion("product_grade between", value1, value2, "productGrade");
            return (Criteria) this;
        }

        public Criteria andProductGradeNotBetween(String value1, String value2) {
            addCriterion("product_grade not between", value1, value2, "productGrade");
            return (Criteria) this;
        }

        public Criteria andFactoryNameIsNull() {
            addCriterion("factory_name is null");
            return (Criteria) this;
        }

        public Criteria andFactoryNameIsNotNull() {
            addCriterion("factory_name is not null");
            return (Criteria) this;
        }

        public Criteria andFactoryNameEqualTo(String value) {
            addCriterion("factory_name =", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameNotEqualTo(String value) {
            addCriterion("factory_name <>", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameGreaterThan(String value) {
            addCriterion("factory_name >", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameGreaterThanOrEqualTo(String value) {
            addCriterion("factory_name >=", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameLessThan(String value) {
            addCriterion("factory_name <", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameLessThanOrEqualTo(String value) {
            addCriterion("factory_name <=", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameLike(String value) {
            addCriterion("factory_name like", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameNotLike(String value) {
            addCriterion("factory_name not like", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameIn(List<String> values) {
            addCriterion("factory_name in", values, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameNotIn(List<String> values) {
            addCriterion("factory_name not in", values, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameBetween(String value1, String value2) {
            addCriterion("factory_name between", value1, value2, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameNotBetween(String value1, String value2) {
            addCriterion("factory_name not between", value1, value2, "factoryName");
            return (Criteria) this;
        }

        public Criteria andBancCiIsNull() {
            addCriterion("banc_ci is null");
            return (Criteria) this;
        }

        public Criteria andBancCiIsNotNull() {
            addCriterion("banc_ci is not null");
            return (Criteria) this;
        }

        public Criteria andBancCiEqualTo(String value) {
            addCriterion("banc_ci =", value, "bancCi");
            return (Criteria) this;
        }

        public Criteria andBancCiNotEqualTo(String value) {
            addCriterion("banc_ci <>", value, "bancCi");
            return (Criteria) this;
        }

        public Criteria andBancCiGreaterThan(String value) {
            addCriterion("banc_ci >", value, "bancCi");
            return (Criteria) this;
        }

        public Criteria andBancCiGreaterThanOrEqualTo(String value) {
            addCriterion("banc_ci >=", value, "bancCi");
            return (Criteria) this;
        }

        public Criteria andBancCiLessThan(String value) {
            addCriterion("banc_ci <", value, "bancCi");
            return (Criteria) this;
        }

        public Criteria andBancCiLessThanOrEqualTo(String value) {
            addCriterion("banc_ci <=", value, "bancCi");
            return (Criteria) this;
        }

        public Criteria andBancCiLike(String value) {
            addCriterion("banc_ci like", value, "bancCi");
            return (Criteria) this;
        }

        public Criteria andBancCiNotLike(String value) {
            addCriterion("banc_ci not like", value, "bancCi");
            return (Criteria) this;
        }

        public Criteria andBancCiIn(List<String> values) {
            addCriterion("banc_ci in", values, "bancCi");
            return (Criteria) this;
        }

        public Criteria andBancCiNotIn(List<String> values) {
            addCriterion("banc_ci not in", values, "bancCi");
            return (Criteria) this;
        }

        public Criteria andBancCiBetween(String value1, String value2) {
            addCriterion("banc_ci between", value1, value2, "bancCi");
            return (Criteria) this;
        }

        public Criteria andBancCiNotBetween(String value1, String value2) {
            addCriterion("banc_ci not between", value1, value2, "bancCi");
            return (Criteria) this;
        }

        public Criteria andBackStartTimeIsNull() {
            addCriterion("back_start_time is null");
            return (Criteria) this;
        }

        public Criteria andBackStartTimeIsNotNull() {
            addCriterion("back_start_time is not null");
            return (Criteria) this;
        }

        public Criteria andBackStartTimeEqualTo(String value) {
            addCriterion("back_start_time =", value, "backStartTime");
            return (Criteria) this;
        }

        public Criteria andBackStartTimeNotEqualTo(String value) {
            addCriterion("back_start_time <>", value, "backStartTime");
            return (Criteria) this;
        }

        public Criteria andBackStartTimeGreaterThan(String value) {
            addCriterion("back_start_time >", value, "backStartTime");
            return (Criteria) this;
        }

        public Criteria andBackStartTimeGreaterThanOrEqualTo(String value) {
            addCriterion("back_start_time >=", value, "backStartTime");
            return (Criteria) this;
        }

        public Criteria andBackStartTimeLessThan(String value) {
            addCriterion("back_start_time <", value, "backStartTime");
            return (Criteria) this;
        }

        public Criteria andBackStartTimeLessThanOrEqualTo(String value) {
            addCriterion("back_start_time <=", value, "backStartTime");
            return (Criteria) this;
        }

        public Criteria andBackStartTimeLike(String value) {
            addCriterion("back_start_time like", value, "backStartTime");
            return (Criteria) this;
        }

        public Criteria andBackStartTimeNotLike(String value) {
            addCriterion("back_start_time not like", value, "backStartTime");
            return (Criteria) this;
        }

        public Criteria andBackStartTimeIn(List<String> values) {
            addCriterion("back_start_time in", values, "backStartTime");
            return (Criteria) this;
        }

        public Criteria andBackStartTimeNotIn(List<String> values) {
            addCriterion("back_start_time not in", values, "backStartTime");
            return (Criteria) this;
        }

        public Criteria andBackStartTimeBetween(String value1, String value2) {
            addCriterion("back_start_time between", value1, value2, "backStartTime");
            return (Criteria) this;
        }

        public Criteria andBackStartTimeNotBetween(String value1, String value2) {
            addCriterion("back_start_time not between", value1, value2, "backStartTime");
            return (Criteria) this;
        }

        public Criteria andBackEndTimeIsNull() {
            addCriterion("back_end_time is null");
            return (Criteria) this;
        }

        public Criteria andBackEndTimeIsNotNull() {
            addCriterion("back_end_time is not null");
            return (Criteria) this;
        }

        public Criteria andBackEndTimeEqualTo(String value) {
            addCriterion("back_end_time =", value, "backEndTime");
            return (Criteria) this;
        }

        public Criteria andBackEndTimeNotEqualTo(String value) {
            addCriterion("back_end_time <>", value, "backEndTime");
            return (Criteria) this;
        }

        public Criteria andBackEndTimeGreaterThan(String value) {
            addCriterion("back_end_time >", value, "backEndTime");
            return (Criteria) this;
        }

        public Criteria andBackEndTimeGreaterThanOrEqualTo(String value) {
            addCriterion("back_end_time >=", value, "backEndTime");
            return (Criteria) this;
        }

        public Criteria andBackEndTimeLessThan(String value) {
            addCriterion("back_end_time <", value, "backEndTime");
            return (Criteria) this;
        }

        public Criteria andBackEndTimeLessThanOrEqualTo(String value) {
            addCriterion("back_end_time <=", value, "backEndTime");
            return (Criteria) this;
        }

        public Criteria andBackEndTimeLike(String value) {
            addCriterion("back_end_time like", value, "backEndTime");
            return (Criteria) this;
        }

        public Criteria andBackEndTimeNotLike(String value) {
            addCriterion("back_end_time not like", value, "backEndTime");
            return (Criteria) this;
        }

        public Criteria andBackEndTimeIn(List<String> values) {
            addCriterion("back_end_time in", values, "backEndTime");
            return (Criteria) this;
        }

        public Criteria andBackEndTimeNotIn(List<String> values) {
            addCriterion("back_end_time not in", values, "backEndTime");
            return (Criteria) this;
        }

        public Criteria andBackEndTimeBetween(String value1, String value2) {
            addCriterion("back_end_time between", value1, value2, "backEndTime");
            return (Criteria) this;
        }

        public Criteria andBackEndTimeNotBetween(String value1, String value2) {
            addCriterion("back_end_time not between", value1, value2, "backEndTime");
            return (Criteria) this;
        }

        public Criteria andBackUserNameIsNull() {
            addCriterion("back_user_name is null");
            return (Criteria) this;
        }

        public Criteria andBackUserNameIsNotNull() {
            addCriterion("back_user_name is not null");
            return (Criteria) this;
        }

        public Criteria andBackUserNameEqualTo(String value) {
            addCriterion("back_user_name =", value, "backUserName");
            return (Criteria) this;
        }

        public Criteria andBackUserNameNotEqualTo(String value) {
            addCriterion("back_user_name <>", value, "backUserName");
            return (Criteria) this;
        }

        public Criteria andBackUserNameGreaterThan(String value) {
            addCriterion("back_user_name >", value, "backUserName");
            return (Criteria) this;
        }

        public Criteria andBackUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("back_user_name >=", value, "backUserName");
            return (Criteria) this;
        }

        public Criteria andBackUserNameLessThan(String value) {
            addCriterion("back_user_name <", value, "backUserName");
            return (Criteria) this;
        }

        public Criteria andBackUserNameLessThanOrEqualTo(String value) {
            addCriterion("back_user_name <=", value, "backUserName");
            return (Criteria) this;
        }

        public Criteria andBackUserNameLike(String value) {
            addCriterion("back_user_name like", value, "backUserName");
            return (Criteria) this;
        }

        public Criteria andBackUserNameNotLike(String value) {
            addCriterion("back_user_name not like", value, "backUserName");
            return (Criteria) this;
        }

        public Criteria andBackUserNameIn(List<String> values) {
            addCriterion("back_user_name in", values, "backUserName");
            return (Criteria) this;
        }

        public Criteria andBackUserNameNotIn(List<String> values) {
            addCriterion("back_user_name not in", values, "backUserName");
            return (Criteria) this;
        }

        public Criteria andBackUserNameBetween(String value1, String value2) {
            addCriterion("back_user_name between", value1, value2, "backUserName");
            return (Criteria) this;
        }

        public Criteria andBackUserNameNotBetween(String value1, String value2) {
            addCriterion("back_user_name not between", value1, value2, "backUserName");
            return (Criteria) this;
        }

        public Criteria andBackStatusIsNull() {
            addCriterion("back_status is null");
            return (Criteria) this;
        }

        public Criteria andBackStatusIsNotNull() {
            addCriterion("back_status is not null");
            return (Criteria) this;
        }

        public Criteria andBackStatusEqualTo(String value) {
            addCriterion("back_status =", value, "backStatus");
            return (Criteria) this;
        }

        public Criteria andBackStatusNotEqualTo(String value) {
            addCriterion("back_status <>", value, "backStatus");
            return (Criteria) this;
        }

        public Criteria andBackStatusGreaterThan(String value) {
            addCriterion("back_status >", value, "backStatus");
            return (Criteria) this;
        }

        public Criteria andBackStatusGreaterThanOrEqualTo(String value) {
            addCriterion("back_status >=", value, "backStatus");
            return (Criteria) this;
        }

        public Criteria andBackStatusLessThan(String value) {
            addCriterion("back_status <", value, "backStatus");
            return (Criteria) this;
        }

        public Criteria andBackStatusLessThanOrEqualTo(String value) {
            addCriterion("back_status <=", value, "backStatus");
            return (Criteria) this;
        }

        public Criteria andBackStatusLike(String value) {
            addCriterion("back_status like", value, "backStatus");
            return (Criteria) this;
        }

        public Criteria andBackStatusNotLike(String value) {
            addCriterion("back_status not like", value, "backStatus");
            return (Criteria) this;
        }

        public Criteria andBackStatusIn(List<String> values) {
            addCriterion("back_status in", values, "backStatus");
            return (Criteria) this;
        }

        public Criteria andBackStatusNotIn(List<String> values) {
            addCriterion("back_status not in", values, "backStatus");
            return (Criteria) this;
        }

        public Criteria andBackStatusBetween(String value1, String value2) {
            addCriterion("back_status between", value1, value2, "backStatus");
            return (Criteria) this;
        }

        public Criteria andBackStatusNotBetween(String value1, String value2) {
            addCriterion("back_status not between", value1, value2, "backStatus");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}